<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>changepass</title>
<style type="text/css">
  .form_control .valid_message {color: #32BC61;}
  .form_control.error .valid_message {color: #f00;}
  input[type="submit"] {
  background: #ffd800;
  padding: 0.5em 1.5em;
  border:none;
  outline: none;
  cursor: pointer;
  font-size: 1.1em;
}
input[type="submit"]:hover{
  background: #e2e5e2;
  color:#ec222f;
}
#img:hover{width:150px;height:150px;}
  </style>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<link rel="stylesheet" type="text/css" href="css/jqueryslidemenu.css" />
<script type="text/javascript" src="js/jqueryslidemenu.js"></script>
<link href="css/screen.css" rel="stylesheet" type="text/css" media="screen" />	
<script type="text/javascript" src="js/easySlider1.7.js"></script>
<script type="text/javascript">
		$(document).ready(function(){	
			$("#slider").easySlider({
				auto: true, 
				continuous: true,
				numeric: true
			});
		});	
	</script>
</head>

<body>
  <div id="wrapper">
    <div id="topbar">
      <div id="logo"><img src="images/logo.gif" alt="" width="319" height="75" onclick="javascript:window.location.href='index.jsp'" /></div>
      <div id="skin">
			<ul>
				<c:choose>
					<c:when test="${customerName != null}">
						<li style="color:#fff;">欢迎您:<a href="#">${customerName}</a></li>
					</c:when>
					<c:otherwise>
						<li><a href="loginButton.action?a=login">[登录]</a></li>
						<li><a href="registButton.action?a=regist">[注册]</a></li>
					</c:otherwise>
				</c:choose>
			</ul>
		</div>
    </div>
    <div id="nav"><div id="myslidemenu" class="jqueryslidemenu">
<ul>
<li><a href="index.jsp">主页</a></li>
<li><a href="top_report.action">报案</a></li>
<li><a href="script:void(0)">我的信息</a>
  <ul>
  <li><a href="top_caseinfo.action">案件信息</a></li>
  <li><a href="top_carinfo.action">车辆信息</a></li>
  </ul>
</li>
<li><a href="top_addcar.action">添加车辆</a></li>
<li><a href="script:void(0)">其他</a>
  <ul>
  <li><a href="script:void(0)">案件申述(还没做)</a></li>
  <li><a href="top_changepass.action">修改密码</a></li>
  </ul>
</li>
<li><a href="top_exit.action">安全退出</a></li>
</ul>
<br style="clear:left" />
</div>
</div>
    <div id="content">
	    <div class="grey2" style="width:95%;">
	      	<fieldset style="padding:5px;height:290px;">
			<legend><h2>案件信息</h2></legend>
				<s:if test="#request.caseinfo.size > 0">
					<!-- 表单内容 -->
					<ul style="list-style:none;width:95%;border-bottom:1px #f00 dotted;height:40px;line-height:40px;text-align:center;">
								<li style="float:left;width:7%">案件编号</li>
								<li style="float:left;width:10%;">车辆编号</li>
								<li style="float:left;width:7%">报案类型</li>
								<li style="float:left;width:15%">报案地点</li>
								<li style="float:left;width:10%">联系电话</li>
								<li style="float:left;width:11%">报案时间</li>
								<li style="float:left;width:10%">图片</li>
								<li style="float:left;width:5%">接案员</li>
								<li style="float:left;width:8%">审核状态</li>
								<li style="float:left;width:8%">操作</li>
					</ul>
					<s:iterator value="#request.caseinfo">
						<ul style="list-style:none;width:95%;border-bottom:1px #f00 dotted;height:40px;line-height:40px;text-align:center;">
								<li style="float:left;width:7%"><s:property value="caseid"/></li>
								<li style="float:left;width:10%;"><s:property value="carid"/></li>
								<li style="float:left;width:7%"><s:property value="reportTypeName"/></li>
								<li style="float:left;width:15%"><s:property value="caseAddress"/></li>
								<li style="float:left;width:11%"><s:property value="casePhone"/></li>
								<li style="float:left;width:10%"><s:property value="caseDate"/></li>
								<li style="float:left;width:10%">
									<img id="img" src="${pageContext.request.contextPath}/<s:property value="caseImgPath"/>" alt="图片找不到了" height="40px" width="40px" />
								</li>
								<li style="float:left;width:5%"><s:property value="sysUserid"/></li>
								<li style="float:left;width:8%"><s:property value="casestatus"/></li>
								<li style="float:left;width:8%">删除/修改</li>
						</ul>
					</s:iterator>
				</s:if>
				<s:else>
					<p>你还没有添加过案件哦!<a href="top_report.action">点击这里添加</a></p>
				</s:else>
				
			</fieldset>
	    </div>
    </div>
    <div id="footer">Copyright &copy; com.kun 593921602.</div>
  </div>
</body>
</html>

